package com.heima.media.apis;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.media.dtos.WmNewsDto;
import com.heima.model.media.dtos.WmNewsPageReqDto;
import org.springframework.web.bind.annotation.RequestBody;

public interface NewsControllerApi {


    ResponseResult submitNews(@RequestBody WmNewsDto dto);

    ResponseResult saveDraftNews(@RequestBody WmNewsDto dto);

    ResponseResult listByUser(@RequestBody WmNewsPageReqDto dto);

    ResponseResult wmNews(@RequestBody WmNewsDto dto);

    ResponseResult delNews(@RequestBody WmNewsDto dto);
}
